package com.liush.system.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.liush.model.controller.SysOperLog;
import com.liush.model.vo.SysOperLogQueryVo;
import com.liush.system.mapper.SysOperLogMapper;
import com.liush.system.service.SysOperLogService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 操作日志记录 服务实现类
 * </p>
 *
 * @author liush
 * @since 2023-02-25
 */
@Service
@Transactional
public class SysOperLogServiceImpl extends ServiceImpl<SysOperLogMapper, SysOperLog> implements SysOperLogService {

    @Autowired
    private SysOperLogMapper sysOperLogMapper;

    @Override
    public Page<SysOperLog> findPage(Page<SysOperLog> page, SysOperLogQueryVo sysOperLogQueryVo) {
        return sysOperLogMapper.findPage(page, sysOperLogQueryVo);
    }
}
